﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Acr.XamForms.UserDialogs;
using HalalCheck.Resources;
using SpotOffer.Resource;
using Xamarin.Forms;
using XLabs.Forms.Mvvm;

namespace HalalCheck.View
{
    public class BasePage : BaseView
    {

        private IUserDialogService _dialogs;
        public IUserDialogService Dialogs
        {
            get { return _dialogs; }
            set
            {
                _dialogs = value;

            }

        }
        public BasePage()
        {
            Title = "BasePage";
            Dialogs = DependencyService.Get<IUserDialogService>();
            /*  var beachImage = new Image { Aspect = Aspect.AspectFit };
              beachImage.Source = ImageSource.FromFile("backgroundhalal.png.jpg");*/
            //  BackgroundImage = "backgroundhalal.png";
            BackgroundColor = AppColors.OrigDarkBlue;


        }
    }
}
